{include(head.tpl)}
<body>

        <form id="frm">
            <table class="table3">
                <tr>
                    <th>栏目代码:</th>
                    <td><input type="text" name="colcod" value=""></td>
                </tr>
                <tr>
                    <th>栏目名称:</th>
                    <td><input type="text" name="colname" value=""></td>
                </tr>
                <tr>
                    <th></th>
                    <td>
                        <input type="button" class="h_sub submit" value="提交">
                    </td>
                </tr>
            </table>
        </form>


<script>
  $(function(){
      $('.h_sub').click(function(){
          var arr=_ajaxs.from('#frm');
          _ajaxs.post('{mothedurl}','arr='+arr,function _return(hdata){
              if(hdata.status){
                  layer.msg(hdata.msg,function(){
                      window.parent.addcoumn_layer();
                  });
              }else{
                layer.msg(hdata.msg);
              }
          })
      })
  })
</script>
</body>
</html>
